import { IPSMarkdownItem } from './ipsmarkdown-item';
import { PSRawItemImplBase } from './psraw-item-impl-base';

export class PSMarkdownItemImpl extends PSRawItemImplBase implements IPSMarkdownItem {
  get content(): string {
    return this.M.content;
  }

  get cls(): string {
    return 'PSMarkdownItemImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'control.rawitem.IPSMarkdownItem') return true;
    return super.instanceof(cls);
  }
}
